
#include <string>

#include "Singleton.h"

///**
// * 初始化滤波器
// * */
//extern "C" JNIEXPORT void JNICALL
//Java_flexolink_sdk_nativelib_FlexNativeLib_filterSetup(
//        JNIEnv* env,
//        jobject,
//        double samplingrate, int indexButter, int indexNotch, double hp, double lp, double centerFrequency) {
//    if(!(Singleton::get_instance()->isIniate)){
//        Singleton::get_instance()->precaculate(samplingrate, indexButter, indexNotch, hp, lp, centerFrequency);
//    }
//}
//
///**
// * 动态滤波
// * */
//extern "C" JNIEXPORT jdouble JNICALL
//Java_flexolink_sdk_nativelib_FlexNativeLib_filter(
//        JNIEnv* env,
//        jobject,
//        double a, int indexButter, int indexNotch) {
//    return Singleton::get_instance()->calculate(a, indexButter, indexNotch);
//}
